
/*Définition du format de page : fond, font, marges, largeur, ...*/
 html {
	overflow-y:scroll; /* Force l'ascenceur en permanence */
}

body {
    margin: 0;
    padding: 0;
    max-width: 1000px;
    margin: 0 auto;
    height: 100%;
	min-height:100%;
    color: #FFFFFF;
    background: url("../images/fondpage.png");
    font-family: Dayrom, Arial, sans-serif;
    background-color: #000;
}

/*Définition de la grid*/
.container {
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 20px;
}

/*Définition zone Logo, texte et*/
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px;
    border-radius: 10px;
    color: #CC6600;
}

/*Début texte RicCoDev*/
.logo-text {
    display: flex;
    align-items: center;
}

.brand-name {
    font-family: 'CalligraffitiRegular', cursive;
    font-size: 2em;
    margin-left: 25px;
}
/*Fin texte RicCoDev*/

/*Début logo RicCoDev*/
.logo {
    max-width: 50px;
    max-height: 50px;
}
/*Fin logo RicCoDev*/

/*Début menu entête*/
.menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.menu li {
    margin-left: 10px;
}

.menu a {
    text-decoration: none;
    font-size: 1.1em;
    color: #CC6600;
}

.menu a:hover
{
    color: #91c0f0;
    border-bottom: 2px solid red;
}

menu a:visited {
    color:#CC6600; /* Couleur au survol */
}

/*Fin menu entête*/

/*--------------------------------------------*/
/*Début de la bannière : photo et 2 zone texte*/
.banner {
    display: flex;              /* Creation Flex la photo bannière et le texte seront dans la même boite */
    flex-direction: column;     /* Flex en mode verticale 2 lignes*/
}
.banner-img                     /*Zone d'image*/
{
    max-width: 1000px;
    max-height: 200px;
    border-radius: 10px;
    width: 100%;
}
.banner-text                    /*Zone de texte sous l'image d'une hauteur de */
{
    bottom: 0;
    width: 100%;
    max-height: 1.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0;
}
.location .phone{
    font-size: 1.3em;
    font-weight: bolder;
}
/*Fin de la bannière : photo et texte*/

/*--------------------------------------------*/
/*Largeur de l'Aside contenant les liens de téléchargements*/
.flex-column {
    display: flex;
    flex-direction: column;
    color: #000;
    text-align: left;
    height:30px;
}

.main-content {
    display: grid;
    grid-template-columns: 1.6fr 2fr;
    height: 500px;
    margin-top: 20px;
}

.aside {
    color: #c60;
}

.titre {
    display: grid;
    margin-left: 10px;
    text-align: center;
    font-size: 2em;
  }
.soustitre {
    display: grid;
    margin-left: 10px;
    margin-top: 0;
    text-align:center;
    font-size: 1.0em;
    height: 40px;
  }
  /*Début lLien vers les exemples*/
.exemples {
    display: grid;
    align-items: right;
    padding-left: 0px;
    margin-bottom:20px;
    margin-left: 10px;
    padding-top:40px;
    height: 50px;
    color: #91c0f0;
    width: auto;
    display: inline-block;
  }
  
  .exemples a {
    text-decoration: none;
  }

  .exemples a:hover {
    color: white;
    border-bottom: 3px solid red;
  }
  .exemples a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 0px;
    background-color: #000;
    transition: width 0.3s ease;
}

  .exemples a:visited {
    color: #91c0f0; /* Couleur au survol */
}
  /*Fin lLien vers les exemples*/

.menuvertical {
    display: grid;
    margin-left: 10px;
    padding-left: 15px;
    color:white;
}
.items {
    list-style-type: none; /* Supprime les puces par défaut */
    padding: 0px; /* Supprime le padding par défaut */
    width: auto;
}
.menu-item {
    margin: 5px 0; /* Ajoute de la marge entre les éléments */
    width: auto;
    display: inline-block;
    text-align: center;
}

/* Style pour les liens à l'intérieur des éléments de menu */
.menu-item a {
    color: white; /* Change la couleur du texte */
    text-decoration: none;
    /*display: block; /* Assure que le lien prend toute la largeur de l'élément de menu */*/
    /*height: 100%;*/
}

/* Change la couleur du texte au survol */
.menu-item a:hover {
    color: #88aed6; /* Couleur au survol */
    border-bottom: 3px solid red;
}

/*Section contennant le texte descriptif*/
.content {
    margin-left: 20px;
    color: white;
    padding: 10px;
    border-radius: 10px;
    flex-grow: 300px;
    list-style: none;
    text-align: justify;
    border: 1px solid #c60;
}
/*Pied de page intégrant la date de dernière modification ett la barre horizontale*/
.footer {
    text-align: left;
    border-radius: 10px;
}

.last-modified {
    font-size: 10px;
    color: #fff;
    max-height: 0.4em;
}
hr {
    margin-bottom: 1px;             /* Réduit la marge inférieure */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-height: 30px;
    margin-top: -5px;
    color: #c60;
}

.icons img {
    max-width: 45px;
    margin: 0 5px;
}

.copyright, .author {
    font-size: 1.2empx;
}

@media (max-width: 1000px) {
    .container {
        padding: 10px;
    }

    .header, .banner, .main-content, .footer {
        padding: 10px;
    }

    .main-content {
        grid-template-columns: 1fr;
    }
}